Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: roundtrip SFM data #18

Merged
merged 5 commits into from
Dec 20, 2023
Merged

feat: roundtrip SFM data #18

merged 5 commits into from
Dec 20, 2023

Conversation

darcywong00
Copy link
Contributor

This is a starting point for round-tripping SFM content (SFM to JSON and back to SFM).

One user had SFM data from multiple files in "Extra Book E" and wanted them collated into a spreadsheet. Each file is treated as a single chapter, with the "verse number" starting with 2 (hard-coded in sfm.ts and toolbox.ts).

Another project may be interested in having some SFM parsing utilities.

Added command-line argument -f to parse a single SFM file.

@darcywong00 darcywong00 merged commit 74d337e into master Dec 20, 2023
1 check passed
@darcywong00 darcywong00 deleted the feat/roundtrip-sfm branch December 20, 2023 08:25
@darcywong00 darcywong00 added the enhancement New feature or request label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant